package com.android.tea;

import android.webkit.WebSettings;

public class MainActivity extends BaseWebViewActivity {

	@Override
	protected void setView() {
		layoutId = R.layout.main;
		super.setView();
	}

	@Override
	protected void initURL() {
		// initUrl = "http://www.chabaike.cn/UI_server/wangleilei/www/mobile/";
		initUrl = "http://www.chabaike.cn/index.php?m=wap&siteid=1";
		super.initURL();
	}

	@Override
	protected void initCache() {
		super.initCache();
		webView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
	}

	@Override
	protected void onStop() {
		super.stopLoading();
		super.onStop();
	}
}